# Contributor: Danilo Falcão <danilo@falcao.org>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=fabric
_pkgname=fabric
pkgver=2.7.0
pkgrel=0
pkgdesc="simple pythonic remote deployment tool"
options="!check" # Fails to find 'fabfile' module
url="https://www.fabfile.org/"
arch="noarch"
license="BSD-2-Clause"
depends="py3-paramiko py3-invoke"
makedepends="py3-setuptools"
checkdepends="py3-pytest py3-mock"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
1b20c422898b6181dd30aba161d3193abf434f1a58acce8e7e69a56a7fb1c645ab34c5aa6882d457d075f27d6169e6c8c3587aec2b9d8d583bf84a74f7f15418  fabric-2.7.0.tar.gz
"
